package com.bean;

import com.MybatisUtil.DateUtils;

import java.util.Date;

public class Replys {
    private int id;
    private int newsId;
    private String content;
    private int usersId;
    private int replysId;
    private Date createTime;

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return DateUtils.format(createTime);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNewsId() {
        return newsId;
    }

    public void setNewsId(int newsId) {
        this.newsId = newsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUsersId() {
        return usersId;
    }

    public void setUsersId(int usersId) {
        this.usersId = usersId;
    }

    public int getReplysId() {
        return replysId;
    }

    public void setReplysId(int replysId) {
        this.replysId = replysId;
    }

}
